//展示身份数据
export interface IUserIdentity{
    identity_id:string;
    identity_text:string;
}

//获取api接口权限数据

export interface IApiAuthority{
    api_authority_id: string;
    api_authority_text: string;
    api_authority_url: string;
    api_authority_method: string
}

//获取视图权限数据

export interface IViewAuthority{
    view_authority_id:string;
    view_authority_text:string;
    view_id:string;
}

//添加用户携带参数的的类型
export interface IAddUserParams{
    user_name:string;
    user_pwd:string;
    identity_id?:string
}

//添加身份携带参数的类型
export interface IAddIdentity{
    identity_text:string
}

//添加api接口权限携带的参数类型
export interface IAuthorityApi{
    api_authority_text:string;
    api_authority_url:string;
    api_authority_method:string;
}

//添加视图接口权限的参数类型
export interface IViewAuthority{
    view_authority_text:string;
    view_id:string
}

//给身份设定api接口权限携带参数类型
export interface ISetIdentityApi{
    identity_id:string;
    api_authority_id:string;
}

//给身份设定视图权限携带参数类型
export interface ISetIdentityView{
    identity_id:string;
    view_authority_id:string;
}

